<include file="public@header"/>
</head>
<body>
<div class="wrap js-check-wrap">
    <ul class="nav nav-tabs">
        <li class="active"><a href="{:url('Relation/index_1')}">主题班级管理</a></li>
    </ul>
    <form class="well form-inline margin-top-20" method="post" action="">
        班级名称:
        <input type="text" class="form-control" name="p_class_name" style="width: 200px;"
               value="{$p_class_name|default=''}" placeholder="请输入班级名称...">
        <input type="submit" class="btn btn-primary" value="搜索"/>
        
    </form>
    <form method="post" class="js-ajax-form margin-top-20" action="">
       
        
        <table class="table table-hover table-bordered table-list">
            <thead>
            <tr>
                <th width="16"><label><input type="checkbox" class="js-check-all" data-direction="x"
                                             data-checklist="js-check-x"></label></th>
               
                <th width="150">ID</th>
                <th>创建时间</th>
				<th>创建人</th>
                <th>行政班名称</th>
                <th>学员数量</th>
                <th width="200">{:lang('ACTIONS')}</th>
            </tr>
            </thead>
            <tbody>
            <foreach name="data" item="vo">
                <tr>
                    <td><input type="checkbox" class="js-check" data-yid="js-check-y" data-xid="js-check-x" name="ids[]"
                               value="{$vo.classs.class_id}"></td>
                    <td>{$vo.classs.class_id}</td>
					<td>{$vo.classs.create_time}</td>
                    <td>{$vo.classs.appuser.realName}</td>
                    <td>{$vo.classs.class_name}</td>
                    <td>{$vo.count}</td>
    
                    <td>
                         <a href="{:cmf_url('getGroupLists',array('class_id'=>$vo.class_id))}">管理</a>
						
                    </td>
                </tr>
            </foreach>
            </tbody>
            <tfoot>
            <tr>
               <th width="16"><label><input type="checkbox" class="js-check-all" data-direction="x"
                                             data-checklist="js-check-x"></label></th>
               
                <th width="150">ID</th>
                <th>创建时间</th>
                <th>创建人</th>
                <th>行政班名称</th>
                <th>学员数量</th>
                <th width="200">{:lang('ACTIONS')}</th>
            </tr>
            </tfoot>
        </table>
         <ul class="pagination">{$page|default=''}</ul>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
<script type="text/javascript">
    function edit(id){
        //打开新增窗口
        openIframeLayer("/teacher/Template_group/editCategory/id/"+id, '编辑模板及主题活动', {
            area: ['600px', '600px'],
        });
    }
    function add(id){
        //打开新增窗口
        openIframeLayer("/teacher/Template_group/add/id/"+id, '添加套件', {
            area: ['600px', '600px'],
        });
    }
</script>
</body>
</html>